package com.admission.to;

import java.util.List;

import com.annotation.AnCollection;
import com.annotation.AnElement;

public class Province {
	@AnElement("provincekey")
	private String key = "";
	@AnElement("provincevalue")
	private String value = "";
	@AnElement("types")
	@AnCollection(beanClass = Type.class, childElement = "type")
	private List<Type> types;

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public List<Type> getTypes() {
		return types;
	}

	public void setTypes(List<Type> types) {
		this.types = types;
	}

}
